package cn.eonshine.cuba.lsms.modular.basic.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alan
 * @since 2018-10-18
 */
@TableName("b_customer")
public class CustomerLsms extends Model<CustomerLsms> {

    private static final long serialVersionUID = 1L;

    /**
     * Customer data primary key
                         客户数据主键
     */
    @TableId("ID")
    private String id;
    /**
     * Customer code
                         客户编码
     */
    @TableField("CODE")
    private String code;
    /**
     * client's name
                         客户名称
     */
    @TableField("NAME")
    private String name;
    /**
     * contact address
                         通讯地址
     */
    @TableField("ADDRESS")
    private String address;
    /**
     * longitude
                         经度
     */
    @TableField("LONGITUDE")
    private BigDecimal longitude;
    /**
     * latitude
                         纬度
     */
    @TableField("LATITUDE")
    private BigDecimal latitude;
    /**
     * Attribution area，Five regional divisions
                         归属区域，五大区域划分
     */
    @TableField("AREA_ID")
    private String areaId;
    /**
     * Company primary key,means the customer belong to ECC
                         归属ECC
     */
    @TableField("ORG_ID")
    private String orgId;
    /**
     * Type of trade: 0 - domestic, 1 - international
                         贸易类型：0-国内,1-国际
     */
    @TableField("TRADE_TYPE")
    private String tradeType;
    /**
     * Client type: power station, power plant, cement plant
                         客户类型：发电站、电厂、水泥厂
     */
    @TableField("CUST_TYPE")
    private String custType;
    /**
     * Customer Status: Enabled, Disabled
                         客户状态：启用、停用
     */
    @TableField("STATUS")
    private String status;
    /**
     * creator
                         创建者
     */
    @TableField("CREATE_BY")
    private String createBy;
    /**
     * Create time
                         创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * updater
                         更新者
     */
    @TableField("UPDATE_BY")
    private String updateBy;
    /**
     * Update time
                         更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * Remarks information
                         备注信息
     */
    @TableField("REMARKS")
    private String remarks;
    /**
     * Delete the tag field
                         删除标记
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * full name 全称
     */
    @TableField("FULL_NAME")
    private String fullName;
    /**
     * enable  是否启用
     */
    @TableField("ENABLE")
    private String enable;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getCustType() {
        return custType;
    }

    public void setCustType(String custType) {
        this.custType = custType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Customer{" +
        ", id=" + id +
        ", code=" + code +
        ", name=" + name +
        ", address=" + address +
        ", longitude=" + longitude +
        ", latitude=" + latitude +
        ", areaId=" + areaId +
        ", orgId=" + orgId +
        ", tradeType=" + tradeType +
        ", custType=" + custType +
        ", status=" + status +
        ", createBy=" + createBy +
        ", createDate=" + createDate +
        ", updateBy=" + updateBy +
        ", updateDate=" + updateDate +
        ", remarks=" + remarks +
        ", delFlag=" + delFlag +
        ", fullName=" + fullName +
        ", enable=" + enable +
        "}";
    }
}
